<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/workflow/flowDefin/css/setActor.css" />

<div class="modal-body" id="myflow_condition_setting" >
	<input id="role_checked_condition" name="role_checked_condition"  value="" type="hidden"/>
	<div id="setting_actor" style="display:block;">
		<div class="top">
			<label class="oa_topfont"><input type="radio" name="condition_flag" id="condition_num" value="condition_num"  onclick="treeChange(this.value)" checked="checked"/>表单字段</label>
			<label class="oa_topfont"><input type="radio" name="condition_flag" id="condition_role" value="condition_role" onclick="treeChange(this.value);"/>提交人角色</label>
		</div>
		<div class="treePanel" id="condition_num_div" style="border:solid 1px #ccc; display: block; overflow:hidden;padding:10px;" >
			<p>请输入字段范围：<input id="num_round" name="num_round" class="form-control" value="" type="text"/></p>

		</div>
		<div class="treePanel" id="condition_role_div" style="border:solid 1px #ccc; display: none; overflow:hidden; padding:10px;" >
			<p>职务范围：
			 <select id="role_round" name="role_round" class="form-control" style="width:90px;display:inline;height:24px;padding:0px 5px">
			 	<option value="in">包含</option>
			 	<option value="notin">不包含</option>
			 </select>
			</p>
			<p>请选择职务：
				<button onclick="showRoleTree('condition',this)" type="button" class="btn btn-sm btn-primary" style="padding:3px 10px">选择</button>
			</p>
			<p>
				<div id="msg_Roletitle_condition" style="color:#325a98;">选择的角色：</div>
				<div id="msg_Rolecontent_condition"></div>
			</p>
		</div>

		<div class="oa_ajtr">
			<button id="conditionSub" type="button" class="btn btn-sm btn-primary">确定</button>
		</div>
	</div>
</div>
<script type="text/javascript" src="${pageContext.request.contextPath}/workflow/flowDefin/js/setActor.js"></script>
